package com.yidao.organization.domain;

public class OrganizationRelationship {
	
	/**
	 * This is the parent/child relationship.
	 */
	public static final int TYPE_HAS = 0;
	
	public static final int TYPE_REFER = 1;
	
	private Organization srcOrganization;
	
	private Organization targetOrganization;
	
	private int relationType;
	
	private int status;

	public OrganizationRelationship() {
	}

	public int getRelationType() {
		return relationType;
	}

	public Organization getSrcOrganization() {
		return srcOrganization;
	}

	public int getStatus() {
		return status;
	}

	public Organization getTargetOrganization() {
		return targetOrganization;
	}

	public void setRelationType(int relationType) {
		this.relationType = relationType;
	}

	public void setSrcOrganization(Organization srcOrganization) {
		this.srcOrganization = srcOrganization;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public void setTargetOrganization(Organization targetOrganization) {
		this.targetOrganization = targetOrganization;
	}
}
